/*
 *  Copyright 2012, Tera-soft Co., Ltd.  All right reserved.
 *
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF TERA-SOFT CO.,
 *  LTD.  THE CONTENTS OF THIS FILE MAY NOT BE DISCLOSED TO THIRD
 *  PARTIES, COPIED OR DUPLICATED IN ANY FORM, IN WHOLE OR IN PART,
 *  WITHOUT THE PRIOR WRITTEN PERMISSION OF TERA-SOFT CO., LTD
 *
 */
package com.tera.util;

import java.util.Date;
import java.util.Random;
/**
 * @author wy
 */
public class TokenUtils {
	/**
	 * @return token
	 */
	public static String createToken() {
		Random random = new Random();
		Date date = new Date();
		String token = date.getTime() + "" + random.nextInt(999999999);
		return token;
	}
}
